[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PEEKW(IEXP) (INTEGER)

 Function
  Return the value (0-65535) of a word at a specified memory address.

 Syntax
  PEEKW(addr)

   addr = An integer expression with the address of the word to peek.

 Return Type & Value
  INTEGER
  Returns the value of the word at addr.

 Remarks
  It is sometimes necessary to read values from memory directly (for
  example, from the system BIOS data segment).  This function will return
  a word quantity (0-65,535) from a specified memory address.

 Examples
  PRINTLN "The usable memory size is ",PEEKW(MKADDR(40h,13h))

See Also: MKADDR() PEEKB() PEEKDW() POKEB POKEDW POKEW VARADDR VAROFF VARSEG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson